package com.qf.blog.web.constatns;

public interface RedisKey {
    // blog:web:like:1:10 -->给帖子id为10的点赞
    // blog:web:like:2:20 -->给评论id为20的点赞
    String LIKE_KEY = "blog:web:like:%s:%s"; // 第一个%s实体类的类型，第二个百分号实体类的id
    String USER_LIKE_NUM_KEY = "blog:web:user:like:%s";
    String USER_FOLLOWER = "blog:web:follower:%s";
    String USER_FANS = "blog:web:fans:%s";//粉丝的集合
     String INVITATAION_SCORE = "blog:web:invitataion:score";
}
